<%@page contentType="text/html; charset=utf-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<style>
.searchContent label {width: 50px;}

</style>
 
<form id="pagerForm" method="post" action="relationSetList">
	<input type="hidden" name="pageNum" value="${pageNum}" />
	<input type="hidden" name="numPerPage" value="${numPerPage}" />
</form>
<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" rel="pagerForm" method="post" action="relationSetList">
		<div class="searchBar">
			<input type="hidden" name="numPerPage" value="${numPerPage}" />
			<input type="hidden" name="pageNum" value="${pageNum}" /> 
			<table class="searchContent">
				<tr>
					<td>
						<label>品 牌:</label>
						<select class="combox" name="brandId">
							<option value="0">-选择品牌-</option>
							<option value="1">苹果</option>
							<option value="1">华为</option>
						</select>
					</td>
					<td>
						<label>产品型号:</label>
						<select class="combox" name="modelId">
							<option value="0">-选择型号-</option>
							<option value="1">5S</option>
							<option value="1">荣耀3</option>
						</select>
					</td>
					<td>
						<label style="width:40px;">状&nbsp;&nbsp;&nbsp;态:</label>
						<select class="combox" name="dealFlag">
							<option value="2">全部</option>
							<option value="0">正常</option>
							<option value="1">删除</option> 
						</select>
					</td>
					<td>
						<div class="subBar">
							<ul>
								<li>
									<div class="buttonActive">
										<div class="buttonContent">
											<button type="submit">
												检索
											</button>
										</div>
									</div>
								</li>
							</ul>
						</div>
					</td>
				</tr>
			</table>
		</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li>
				<a class="add" style="font-weight: bold;color:#4BBB13;" href="addRelationSet?navTabId=addRelationSet" rel="addRelationSet" width="535" height="360" target="dialog" mask="true" maxable="false" title="新增关系设置信息"><span>新增关系设置</span>
				</a>
			</li>
			<li class="line">line</li>
			<li>
				<a class="edit" style="font-weight: bold;color:#6495ED;" href="editRelationSet?relationSetId={sid_relationSetId}&nvaTabId=editRelationSet"
					 target="dialog" mask="true" maxable="false"   width="535" height="360" rel="editRelationSet" title="编辑关系设置信息"><span>编 辑关系设置</span>
				</a>
			</li>
			<li class="line">line</li>
			<li>
				<a class="delete" style="font-weight: bold;color:#C1272A;" href="delRelationSet?relationSetId={sid_relationSetId}&navTabId=relationSetList"
					target="ajaxTodo" title="确定要删除您所选中的关系设置信息吗?"><span>删 除关系设置</span>
				</a>
			</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="115">
		<thead>
			<tr>
				<th width="20" align="center">
					序号
				</th>
				<th width="35">关系ID</th>
				<th width="40">活动名称</th>
				<th width="40">品名</th>
				<th width="40">品牌</th>
				<th width="40">型号名称</th>
				<th width="30" align="right">采购单价</th>
				<th width="50" align="center">结算客户补助金</th>
				<th width="50" align="center">融信阿里补助金</th>
				<th width="35" align="center">创建时间</th>
				<th width="35" align="center">修改时间</th>
				<th width="40">备注</th>
				<th width="40" align="center">状态</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach var="m" items="${modelList}" varStatus="status">
				<tr target="sid_activityId" rel="${m.modelId}">
					<td>
						${status.count} 
					</td>
					<td>1000</td>
					<td>测试</td>
					<td>正常</td>
					<td>测试,,</td>
					<td>测试,,</td>
					<td>测试,,</td>
					<td>测试,,</td>
					<td>测试,,</td>
					<td>2013-10:20 12:30</td>
				</tr>
			</c:forEach>
			<tr target="sid_relationSetId" rel="1">
				<td>1</td>
				<td>1001</td>
				<td>0元购</td>
				<td>手机</td>
				<td>华为</td>
				<td>荣耀3</td>
				<td style="color:#cc3300;">￥1000.0</td>
				<td style="color:#00f">￥5</td>
				<td style="color:#f00;">￥1.5</td>
				<td>2010-12-23 10:50:00</td>
				<td>2010-12-23 10:50:00</td>
				<td></td>
				<td style="color:#006400;">正常</td>
			</tr>
			<tr target="sid_relationSetId" rel="2">
				<td>2</td>
				<td>1002</td>
				<td>0元购</td>
				<td>手机</td>
				<td>苹果</td>
				<td>5S</td>
				<td style="color:#cc3300;">￥2500.0</td>
				<td style="color:#00f;">￥5</td>
				<td style="color:#f00;">￥1.5</td>
				<td>2010-12-23 10:50:00</td>
				<td>2010-12-23 10:50:00</td>
				<td></td>
				<td style="color:#f00;">删除</td>
			</tr>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<!-- pageNum:1是当更改numPerPage时，使pageNum=1重新开始，否则可能无数据 -->
			<select class="combox" name="numPerPage"
				onchange="navTabPageBreak({numPerPage:this.value, pageNum:1})">
				<option value="15" ${numPerPage==15?'selected':''}>
					15
				</option>
				<option value="20" ${numPerPage==20?'selected':''}>
					20
				</option>
				<option value="25" ${numPerPage==25?'selected':''}>
					25
				</option>
				<option value="50" ${numPerPage==50?'selected':''}>
					50
				</option>
				<option value="100" ${numPerPage==100?'selected':''}>
					100
				</option>
			</select>
			<span>条，共100条 </span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="100" numPerPage="${numPerPage}" pageNumShown="5" currentPage="1"></div>
	</div>
</div>
